/*
 * Copyright Hundsun Technologies Inc. All Rights Reserved.
 */

package rabbitmq

const (
	// FailedToCreateNewConnection failed to create new connection
	FailedToCreateNewConnection = "unable to create new connection"
	// FailedToCreateNewChannel failed to create channel
	FailedToCreateNewChannel = "unable to create channel"
	// FailedToAppliedHandlerFunc failed to apply handler func, please check your function
	FailedToAppliedHandlerFunc = "unable to apply handler func, please check your function"
	// FailedToRun failed to execute middleware
	FailedToRun = "unable to execute middleware"

	// FailedToApplyProducerConfigFunc failed to apply producer config
	FailedToApplyProducerConfigFunc = "unable to apply producer config"
	// FailedToApplyPublishPropertyConfigFunc failed to apply publish property config func
	FailedToApplyPublishPropertyConfigFunc = "unable to apply publish property config func"

	// MissingArgumentTTL missing argument `ttl`
	MissingArgumentTTL = "missing argument `ttl`"
	// MissingArgumentContentType missing argument `cType`
	MissingArgumentContentType = "missing argument `cType`"
	// FailedToSetConfigPersist failed to set config `persist`
	FailedToSetConfigPersist = "failed to set config `persist`"
	// FailedToSetConfigPriority fail to set config `priority queue`
	FailedToSetConfigPriority = "fail to set config `priority queue`"

	// FailedToApplyConsumerConfigFunc failed to apply consumer config
	FailedToApplyConsumerConfigFunc = "unable to apply consumer config"
	// FailedToRegisterConsumer failed to register consumer
	FailedToRegisterConsumer = "failed to register consumer"

	// TTLShouldBeGTZero ttl must be greater than zero
	TTLShouldBeGTZero = "ttl must be greater than zero"
	// FailedToExecuteConsumerHandlers failed to execute consumer handlers
	FailedToExecuteConsumerHandlers = "failed to execute consumer handlers"
	// FailedToConsumeItem failed to consume message
	FailedToConsumeItem = "failed to consume message"

	// ConsumerRegistered registered new consumer
	ConsumerRegistered = "registered new consumer"
)
